package com.winning.pmph.utils;

import java.util.HashMap;
import java.util.Map;

/**
 * @author wu_di@winning.com.cn
 * @date 2021/2/2
 */
public class ImageUtils {
    // 图片类型
    public static Map<String, String> IMAGE_TYPE_NAME_MAP;
    // 图片补充类型
    public static Map<String, String> ADDITIONAL_TYPE_NAME_MAP;
    // 图片分类
    public static Map<String, String> IMAGE_CLASSIFICATION_NAME_MAP;

    static {
        IMAGE_TYPE_NAME_MAP = new HashMap<>();
        IMAGE_TYPE_NAME_MAP.put("rw_img table", "表格图");
        IMAGE_TYPE_NAME_MAP.put("rw_img general", "示意图");
        IMAGE_TYPE_NAME_MAP.put("rw_img picture", "插图");
        IMAGE_TYPE_NAME_MAP.put("rw_img cover", "封面图");
        IMAGE_TYPE_NAME_MAP.put("rw_img formula", "公式图");
        IMAGE_TYPE_NAME_MAP.put("rw_img flow", "流程图");
        IMAGE_TYPE_NAME_MAP.put("rw_img hnt", "行内图");
        IMAGE_TYPE_NAME_MAP.put("rw_img default", "默认分类");
        IMAGE_TYPE_NAME_MAP.put("rw_img other", "其他图");

        ADDITIONAL_TYPE_NAME_MAP = new HashMap<>();
        ADDITIONAL_TYPE_NAME_MAP.put("color", "彩图");
        ADDITIONAL_TYPE_NAME_MAP.put("shoot", "实拍图");
        ADDITIONAL_TYPE_NAME_MAP.put("gif", "动图");

        IMAGE_CLASSIFICATION_NAME_MAP = new HashMap<>();
        IMAGE_CLASSIFICATION_NAME_MAP.put("rtjp", "人体解剖");
        IMAGE_CLASSIFICATION_NAME_MAP.put("yxyx", "医学影像");
        IMAGE_CLASSIFICATION_NAME_MAP.put("lcss", "临床手术");
        IMAGE_CLASSIFICATION_NAME_MAP.put("yxjc", "医学检查");
        IMAGE_CLASSIFICATION_NAME_MAP.put("lczz", "临床症状");
        IMAGE_CLASSIFICATION_NAME_MAP.put("zzbl", "临床病理");
        IMAGE_CLASSIFICATION_NAME_MAP.put("yxgj", "医学工具");
        IMAGE_CLASSIFICATION_NAME_MAP.put("bbzz", "病变组织");
        IMAGE_CLASSIFICATION_NAME_MAP.put("lccz", "临床操作");
    }
}
